package io.github.tangwan.jdk8.thread;

/**
 * @author tangwan
 * @version V1.0
 * created on 2021/7/27 10:05
 * @since JDK 1.8
 */
public class MyThread1 extends Thread {

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName());
    }

    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            new MyThread1().start();
        }
    }

}
